#ifndef FOOHELPER_H
#define FOOHELPER_H

#include <QObject>
#include <QDBusContext>
#include <iostream>
#include <QDBusConnection>
#include <QDBusError>
#include <QDebug>

//service端
class FooHelper :public QObject,protected QDBusContext
{
    Q_OBJECT
    //定义一个接口名org.redflag.foohelper
    Q_CLASSINFO("D-Bus Interface","com.redflag.install.dbus")
public:
    FooHelper(QObject *parent=0);
    ~FooHelper();

public Q_SLOTS:
    void installdeb(QString debname);
signals:
    void action2Completed();
};

#endif // FOOHELPER_H
